There are valid cases for passing a variable multiple times into the same method call, but usually doing so is a mistake, and something else was
intended for one of the arguments.
Noncompliant code example
if equal(myPoint.x, myPoint.x) { // Noncompliant
//...
}
Compliant solution
if equal(myPoint.x, myPoint.y) {
//...
}